package priv.yiyuan.example.design.wrapper;

/**
 * 配料装饰器
 * <p>
 * 抽象装饰器
 *
 * @author YiYuan
 * @data 2025/9/1
 * @apoNote
 */
public abstract class CondimentDecorator implements Coffee {

    protected Coffee coffee;

    public CondimentDecorator(Coffee coffee) {
        this.coffee = coffee;
    }

    @Override
    public abstract String getDescription();

    @Override
    public abstract double getCost();
}
